<template>
  <div>
    <h1>Hello,World</h1>
    <h2>用户名字是：{{ userName }}</h2>
    <h2>电脑品牌是：{{ computer.brand }}</h2>
    <h2>电脑价格是:{{ computer.price }}</h2>
  </div>
</template>

<script>
export default {
  data() {
    return {
      userName: "Jack",
      computer: {
        brand: "Lenovo",
        price: 5000,
      },
    };
  },
};
</script>


<style>
</style>